//=============================================================================
/**
 * @file	steal_ai.h
 * @brief	フラッグAI
 * @date	2008.08.19
 */
//=============================================================================

#ifndef	__STEAL_AI_H__
#define	__STEAL_AI_H__

#include "../../pokethlon.h"
#include "pkthln_steal.h"
#include "../../pkthln_poke_act.h"
#include"pkthln_steal_local.h"

typedef struct STEAL_AI_CONT_tag * STEAL_AI_CONT_PTR;

extern STEAL_AI_CONT_PTR StealAI_Init(const int inHeapID, const int inNpcNum, const PKTHLN_GAME_TYPE inType);

extern void StealAI_SetupPokeInfo( STEAL_AI_CONT_PTR ptr,
								   const u8 inIdx,
								   STL_POKE *ioStealPoke );
extern void StealAI_SetupFlagPtr(	STEAL_AI_CONT_PTR ptr, STL_FLAG *inStealFlag );
extern void StealAI_SetUpObstInfo(STEAL_AI_CONT_PTR ptr, const OBJ_CHAR_POS *inObstData);
extern void StealAI_SetupParaInfo(STEAL_AI_CONT_PTR ptr, const OBJ_CHAR_POS *inParaData);

extern void StealAI_End(STEAL_AI_CONT_PTR ptr);

extern u8 StealAI_Execute(STEAL_AI_CONT_PTR ptr);

#endif	//__STEAL_AI_H__